package org.cove.ape {

	/**
	 * @author cbra
	 */
	public class Cloner {
		
		
		public static function cloneArray(apEngine:APEngine,aList:Array):Array{
			var clonedArray:Array = new Array();
			for(var i in aList){	
				if(aList[i] is Clonable){
					clonedArray.push(Clonable(aList[i]).clone(apEngine));
				}
			}
			return clonedArray;
		}
			
	}
}
